package com.tiancheng.trade.payment.channel.umsmop.request;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Author: kellen
 * @Description: 银联商务-天满 异步分账确认
 * @Date: create in 2024/12/31 17:07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UmsMopSettleConfirmRequest extends BaseUmsMopRequest{
    /**
     * 平台商户分账金额 平台商户分账金额,可以为零
     */
    private Long platformAmount;

    private List<UmsMopSettleConfirmSubOrder> subOrders;
    @Data
    public static class UmsMopSettleConfirmSubOrder{
        /**
         * 子商户号
         */
        private String mid;
        /**
         * 商户子订单号
         */
        private String merOrderId;
        /**
         * 子商户分账金额
         */
        private Integer totalAmount;
    }
}
